package com.xyh;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

import java.util.Scanner;

@SpringBootApplication
@EnableEurekaServer
public class PoliceApp {
    public static  void main(String [] args){
        Scanner scanner=new Scanner(System.in);
        String port=scanner.nextLine();
     new SpringApplicationBuilder(PoliceApp.class).properties("server.port="+port).run(args);
    }
}
